const mongoose = require('mongoose')

const Schema = mongoose.Schema

const ProductType = {
    title: String,
    introduction: String,
    detail: String,
    cover: String,
    updateTime: Date
}

const ProductModel = mongoose.model("product", new Schema(ProductType))

module.exports = ProductModel